﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using DTOTemplatedGenerator.UIInterfaces;

namespace DTOTemplatedGenerator.Utils
{
	public class UserInteract : IUserInform
	{
		#region IUserInform Members

		public void Inform(string message)
		{
			MessageBox.Show(message);
		}

		public string GetClipboardText()
		{
			if(Clipboard.ContainsText())
			{
				return Clipboard.GetText();
			}
			return null;
		}

		public void SetClipboardText(string raw)
		{
			Clipboard.SetText(raw);
		}

		#endregion
	}
}
